package data.nanjing.expo.models.domain.base;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * Created by zjp on 2018/2/26.
 * QQ：34948062
 * github: https://www.github.com/zjp1029
 * web： http://www.zjp1029.cn
 * 企业基本认证信息表
 * trade_corporate_certification
 */
public class CorporateCertification {
    /**
     * corporate_id
     */
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;


    /**
     * 公司名称
     * corporate_name
     *
     */
    private String corporateName;

    /**
     * 公司地址
     * corporate_address
     */
    private String corporateAddress;

    /**
     * 成立时间
     * found_time
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date foundTime;

    /**
     * 公司电话
     * corporate_phone
     */
    private String corporatePhone;

    /**
     * 营业执照
     * license_path
     */
    private String licensePath;

    /**
     * 营业范围
     * license_scope
     */
    private String licenseScope;

    /**
     * 法人身份证号码
     * identity_card
     */
    private String identityCard;

    /**
     * 身份证保存地址
     * identity_card_path
     */
    private String identityCardPath;

    /**
     * 联系人姓名
     * linkman_name
     */
    private String linkManName;

    /**
     * 邮箱
     * email
     */
    private String email;
    /**
     * 基本认证审核状态
     * identity_state
     */
    private Integer identityState;
    /**
     * 营业执照
     * license
     */
    private String license;
    /**
     * 联系人手机号
     * linkman_phone
     */
    private String linkManPhone;

    /**
     * 备注
     * introduction
     */
    private String introduction;

    /**
     * 表创建时间
     * gmt_create
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    /**
     * 表最后一次修改时间
     * gmt_modified
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCorporateName() {
        return corporateName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setCorporateName(String corporateName) {
        this.corporateName = corporateName;
    }

    public String getCorporateAddress() {
        return corporateAddress;
    }

    public void setCorporateAddress(String corporateAddress) {
        this.corporateAddress = corporateAddress;
    }

    public Date getFoundTime() {
        return foundTime;
    }

    public void setFoundTime(Date foundTime) {
        this.foundTime = foundTime;
    }

    public String getCorporatePhone() {
        return corporatePhone;
    }

    public void setCorporatePhone(String corporatePhone) {
        this.corporatePhone = corporatePhone;
    }

    public String getLicensePath() {
        return licensePath;
    }

    public void setLicensePath(String licensePath) {
        this.licensePath = licensePath;
    }

    public String getLicenseScope() {
        return licenseScope;
    }

    public void setLicenseScope(String licenseScope) {
        this.licenseScope = licenseScope;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public String getIdentityCardPath() {
        return identityCardPath;
    }

    public void setIdentityCardPath(String identityCardPath) {
        this.identityCardPath = identityCardPath;
    }

    public String getLinkManName() {
        return linkManName;
    }

    public void setLinkManName(String linkManName) {
        this.linkManName = linkManName;
    }

    public String getLinkManPhone() {
        return linkManPhone;
    }

    public void setLinkManPhone(String linkManPhone) {
        this.linkManPhone = linkManPhone;
    }

    public Integer getIdentityState() {
        return identityState;
    }

    public void setIdentityState(Integer identityState) {
        this.identityState = identityState;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    @Override
    public String toString() {
        return "CorporateCertification{" +
                "id=" + id +
                ", userId=" + userId +
                ", corporateName='" + corporateName + '\'' +
                ", corporateAddress='" + corporateAddress + '\'' +
                ", foundTime=" + foundTime +
                ", corporatePhone='" + corporatePhone + '\'' +
                ", licensePath='" + licensePath + '\'' +
                ", licenseScope='" + licenseScope + '\'' +
                ", identityCard='" + identityCard + '\'' +
                ", identityCardPath='" + identityCardPath + '\'' +
                ", linkManName='" + linkManName + '\'' +
                ", email='" + email + '\'' +
                ", identityState=" + identityState +
                ", license='" + license + '\'' +
                ", linkManPhone='" + linkManPhone + '\'' +
                ", introduction='" + introduction + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
